package Levels;

import java.awt.Image;
import java.util.ArrayList;

import Game.Explosion;
import Game.ImageLoader;
import Game.Sprite;

public class Objects {
	public static ArrayList<Image> bulletArray=new ArrayList<Image>();
	public static ArrayList<Image> robotBaseArray=new ArrayList<Image>();
	public static ArrayList<Image> robotTurretArray=new ArrayList<Image>();
	public static ArrayList<Image> ExplosionArray=new ArrayList<Image>();
	
	public static Sprite bulletSprite;
	public static Sprite robotSprite;
	public static Sprite turretSprite;
	public static Sprite explosionSprite;
	
	public Objects(){
		bulletArray.add(new ImageLoader().getImage("data/images/objects/ammo/bullet.png"));
		robotBaseArray.add(new ImageLoader().getImage("data/images/objects/robots/robot_base_1.png"));
		robotBaseArray.add(new ImageLoader().getImage("data/images/objects/robots/robot_base_2.png"));
		robotBaseArray.add(new ImageLoader().getImage("data/images/objects/robots/robot_base_3.png"));
		robotBaseArray.add(new ImageLoader().getImage("data/images/objects/robots/robot_base_4.png"));
		robotTurretArray.add(new ImageLoader().getImage("data/images/objects/robots/robot_turret_1.png"));
		robotTurretArray.add(new ImageLoader().getImage("data/images/objects/robots/robot_turret_2.png"));
		ExplosionArray.add(new ImageLoader().getImage("data/images/fx/explosion_0.png"));ExplosionArray.add(new ImageLoader().getImage("data/images/fx/explosion_1.png"));
		ExplosionArray.add(new ImageLoader().getImage("data/images/fx/explosion_2.png"));ExplosionArray.add(new ImageLoader().getImage("data/images/fx/explosion_3.png"));
		ExplosionArray.add(new ImageLoader().getImage("data/images/fx/explosion_4.png"));ExplosionArray.add(new ImageLoader().getImage("data/images/fx/explosion_5.png"));
		ExplosionArray.add(new ImageLoader().getImage("data/images/fx/explosion_6.png"));ExplosionArray.add(new ImageLoader().getImage("data/images/fx/explosion_7.png"));
		ExplosionArray.add(new ImageLoader().getImage("data/images/fx/explosion_8.png"));ExplosionArray.add(new ImageLoader().getImage("data/images/fx/explosion_9.png"));
		bulletSprite=new Sprite(bulletArray,1);
		robotSprite=new Sprite(robotBaseArray,1);
		turretSprite=new Sprite(robotTurretArray,1);
		explosionSprite=new Sprite(ExplosionArray,1);
	}
}
